package com.leaguefox.domain.dao;

import org.springframework.stereotype.Component;

import com.leaguefox.domain.Team;

@Component
public class TeamDao extends GenericDao<Team, Long> {

	@Override
	protected Class<Team> getObjectClass() {
		return Team.class;
	}

	@Override
	protected Long getObjectPrimaryKey(Team object) {
		return object.getId();
	}

}
